async function render() {
    let data = await ajax('get', '../data.json',{})
    document.querySelector('table tbody').innerHTML = data.list.map((item) => {
        return `
                <tr>
                    <td>${item['id']}</td>
                    <td>${item['ordernum']}</td>
                    <td>${item['name']}</td>
                    <td>${item['date']}</td>
                    <td>
                        <span>${item['status']}</span>
                    </td>
                    <td>
                        <span>${item['progress']}</span>
                    </td>
                </tr>
                `
    }).join('')
}